package com.example.fuluchou.service.dto;

import com.example.fuluchou.service.enums.ActivityStatusEnum;
import lombok.Data;

import java.io.Serializable;

@Data
public class ActivityDTO implements Serializable {
    /**
     * 活动Id
     */
    private Long activityId;

    /**
     * 活动名称
     */
    private String activityName;

    /**
     * 活动描述
     */
    private String description;

    /**
     * 活动状态
     */
    private ActivityStatusEnum status;


    public Boolean valid(){
        return status.equals(ActivityStatusEnum.RUNNING);
    }
}
